package com.lingyue.entity.module.def.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 问题反馈_评论（从表）
 * </p>
 *
 * @author lizhiyuan
 * @since 2020-03-04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("feedback_detail")
@ApiModel(value="FeedbackDetailEntity对象", description="问题反馈_评论（从表）")
public class FeedbackDetailEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "评论ID",hidden = true)
    @TableId("fbd_id")
    private String id;

    @ApiModelProperty(value = "单号")
    @TableField("fbd_fdb_id")
    @NotNull
    private String fdbId;

    @ApiModelProperty(value = "评论内容")
    @TableField("fbd_desc")
    private String description;

    @ApiModelProperty(value = "评论日期",hidden = true)
    @TableField("fbd_create_time")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "评论人",hidden = true)
    @TableField("fbd_create_user")
    private String createUser;


    @ApiModelProperty(value = "评论人类别")
    @TableField("fbd_user_type")
    @NotNull
    private String userType;


    public static final String FBD_ID = "fbd_id";

    public static final String FBD_FDB_ID = "fbd_fdb_id";

    public static final String FBD_DESC = "fbd_desc";

    public static final String FBD_CREATE_TIME = "fbd_create_time";

    public static final String FBD_CREATE_USER = "fbd_create_user";

    public static final String FBD_USER_TYPE = "fbd_user_type";

}
